package com.mac.hosp_pre.order.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * RefundInfo
 *
 * @author mac
 */
@Data
@Schema(name = "退款单")
public class RefundReqDto implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Schema(description = "对外业务编号")
	private String outTradeNo;

	@Schema(description = "订单编号")
	private Long orderId;

	@Schema(description = "支付类型（微信 支付宝）")
	private Integer paymentType;

	@Schema(description = "交易编号")
	private String tradeNo;

	@Schema(description = "退款金额")
	private BigDecimal totalAmount;

	@Schema(description = "交易内容")
	private String subject;

	@Schema(description = "退款状态")
	private Integer refundStatus;

	@Schema(description = "回调时间")
	private LocalDateTime callbackTime;

	@Schema(description = "回调信息")
	private String callbackContent;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

	@Schema(description = "更新时间")
	private LocalDateTime updateTime;

}

